/************************************************************************/
/*  									*/
/*  writecdbk_MSE.c							*/
/*									*/
/*  Tom Lookabaugh							*/
/*  August 14, 1987							*/
/*  Last Revision: August 15, 1987					*/
/*									*/
/*  DESCRIPTION								*/
/*	Writes the codebook.						*/
/*  RETURNS								*/
/*	No significant value.  						*/
/*  CALLS								*/
/*	none.								*/
/*									*/
/************************************************************************/

#include "stdvq.h"

writecdbk (cdbk, cdbksz, cdbkup) 

    double *cdbk;	/* codebook					*/
    int cdbksz;		/* codebook size in vectors			*/
    double *cdbkup;	/* update information for centroids		*/
    
{

      if (fwrite(cdbk, sizeof(double), cdbksz*cdbkdim, cdbkfile) !=
      cdbksz*cdbkdim) error("failed to write codebook (writecdbk 1)");


}
